import path from 'path'

const root = process.cwd()

const resolvePath = (...relativePath: any[]) => path.resolve(root, '../packages', ...relativePath)
const icon = resolvePath('./icon')
const iconSvgs = resolvePath('./icon/svg')
const iconComponents = resolvePath('./icon/src')

export default {
  resolvePath,
  root,
  icon,
  iconSvgs,
  iconComponents,
}
